<?php

use App\Controller\HomeController;
use FastRoute\RouteCollector;
use function FastRoute\simpleDispatcher;

return simpleDispatcher(function (RouteCollector $r) {
    $r->addRoute("GET", "/", [
        "uses" => HomeController::class . "@index",
    ]);
});